From: Richard M. Stallman Date: Tue, 4 May 1993 19:52:02 +0000 (+0000) Subject: (vc-backend-diff): Use diff-switches, not vc-diff-options. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~96393 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=e8ee1ccf68c004de826f2ce12952ba0fd3f900bf;p=emacs.git (vc-backend-diff): Use diff-switches, not vc-diff-options. (vc-diff-options): Variable deleted. --- diff --git a/lisp/vc.el b/lisp/vc.el index d92d7554ae2..ef2ab776eef 100644 --- a/lisp/vc.el +++ b/lisp/vc.el @@ -73,8 +73,6 @@ (defvar vc-default-back-end nil "*Back-end actually used by this interface; may be SCCS or RCS. The value is only computed when needed to avoid an expensive search.") -(defvar vc-diff-options '("-a" "-c2") - "*The command/flags list to be used in constructing diff commands.") (defvar vc-suppress-confirm nil "*If non-nil, reat user as expert; suppress yes-no prompts on some things.") (defvar vc-keep-workfiles t @@ -692,7 +690,11 @@ See `vc-update-change-log'." ;;;###autoload (defun vc-diff (historic) - "Display diffs between file versions." + "Display diffs between file versions. +Normally this compares the current file and buffer with the most recent +checked in version of that file. This uses no arguments. +With a prefix argument, it reads the file name to use +and two version designators specifying which versions to compare." (interactive "P") (if vc-dired-mode (set-buffer (find-file-noselect (dired-get-filename)))) @@ -1449,7 +1451,7 @@ Return nil if there is no such person." file (and oldvers (concat "-r" oldvers)) (and newvers (concat "-r" newvers)) - vc-diff-options + diff-switches )) (defun vc-check-headers () @@ -1507,9 +1509,6 @@ Global user options: vc-suppress-confirm Suppresses some confirmation prompts, notably for reversions. - vc-diff-options A list consisting of the flags - to be used for generating context diffs. - vc-header-alist Which keywords to insert when adding headers with \\[vc-insert-headers]. Defaults to '(\"\%\W\%\") under SCCS, '(\"\$Id\$\") under RCS.